﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HyperLocal.Service.Enums;
using System.Configuration;
using HyperLocal.Core;

namespace HyperLocal.Service
{
    public class AbuseService
    {

        #region Properties

        Repository repo { get; set; }



        #endregion

        #region Constuctors

        public AbuseService()
        {
            repo = ConnectionService.getRepository;
        }


        #endregion

        #region Logic

        public void ReportAbuse(string abuse, LevelOfOffence level)
        {
            
            switch (level)
            {
                case LevelOfOffence.minor:
                    
                    break;
                case LevelOfOffence.moderate:
                    break;
                case LevelOfOffence.severe:
                    throw new InvalidOperationException(abuse);
                    break;
                case LevelOfOffence.trival:
                    break;
            }
            
        }
        #endregion

    }
}
